home *** CD-ROM | disk | FTP | other *** search
/ Super PC 31 / Super PC 31 (Shareware).iso / spc / inter / speakf / fuente / idea / idea.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-24  |  495 b   |  14 lines

  1.  
  2. /* idea.h - header file for idea.c */
  3.  
  4. #define IFAR
  5.  
  6. void initkey_idea(unsigned char IFAR *key, int decryp);
  7. void idea_ecb(unsigned short IFAR *inbuf, unsigned short IFAR *outbuf);
  8. void initcfb_idea(unsigned short IFAR *iv0, unsigned char IFAR *key, int decryp);
  9. void ideacfb(unsigned char IFAR *buf, int count);
  10. void close_idea(void);
  11. void init_idearand(unsigned char key[16], unsigned char seed[8], unsigned long tstamp);
  12. unsigned char idearand(void);
  13. void close_idearand(void);
  14.